home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 October: Technology Seed / ADC Seed CD - October 1999.toast / FireWire / FireWire_2.0_SDK / Source / AVTransport / AVTransportFamily / AVTransportExpert.c next >
Encoding:
C/C++ Source or Header  |  1999-04-12  |  2.0 KB  |  90 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        AVTransportExpert.c
  3.  
  4.     Contains:    Code to implement AV transport control driver expert loader.
  5.  
  6.     Written by:    Erik Staats
  7.  
  8.     Copyright:    © 1996-1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.        <FW5>     3/18/97    ES        Changed expert description version to final.
  13.        <FW4>    10/22/96    ES        Changed to use the GenericDriverFamily for device notification.
  14.        <FW3>     6/27/96    ES        Took out include of AdminMessagePort.h.
  15.        <FW2>     6/20/96    ES        Filled in contains and written by fields.
  16.        <FW1>     6/20/96    ES        first checked in
  17.  
  18. */
  19.  
  20. #include <Types.h>
  21. #include <Errors.h>
  22. #include <NameRegistry.h>
  23. #include <DriverServices.h>
  24. #include <Devices.h>
  25. #include <CodeFragments.h>
  26. #include <GenericDriverFamily.h>
  27. #include <AVTransport.h>
  28. #include <AVTransportPriv.h>
  29. /*zzz*/
  30. static char  debugStr[256];
  31. /*zzz*/
  32.  
  33.  
  34. ////////////////////////////////////////////////////////////////////////////////
  35. //
  36. // The service descriptor.
  37. //
  38.  
  39. GDFServiceDescription             TheGDFServiceDescription =
  40. {
  41.     kGDFServiceDescriptionSignature,
  42.     kInitialGDFServiceDescriptor,
  43.     {
  44.         kNdrvTypeIsAVTransport,
  45.         1, 0, finalStage, 1,
  46.         0
  47.     },
  48.     {
  49.         0,
  50.         "\pAVTransport",
  51.         { 0, 0, 0, 0, 0, 0, 0, 0 }
  52.     }
  53. };
  54.  
  55.  
  56. ////////////////////////////////////////////////////////////////////////////////
  57. ////////////////////////////////////////////////////////////////////////////////
  58. //
  59. // Private routines.
  60. //
  61. ////////////////////////////////////////////////////////////////////////////////
  62. ////////////////////////////////////////////////////////////////////////////////
  63.  
  64. ////////////////////////////////////////////////////////////////////////////////
  65. //
  66. // GDFExpertEntryPoint
  67. //
  68. //   This routine installs the AV transport control driver expert loader.
  69. //
  70.  
  71. long    GDFExpertEntryPoint(void)
  72. {
  73.     return ((long) InstallAVTExpert ());
  74. }
  75.  
  76.  
  77. ////////////////////////////////////////////////////////////////////////////////
  78. //
  79. // AVTExpertTerminate
  80. //
  81. //   This proc terminates the AV transport control driver expert loader.
  82. //
  83.  
  84. long    AVTExpertTerminate()
  85. {
  86.     return ((long) UninstallAVTExpert ());
  87. }
  88.  
  89.  
  90.